= title("Register")
%section#login
  #registered-users
    #shadow_box_content
      %p
        %b= t('sessions.register')
      = form_tag users_signup_url, :id => "new-user-form" do
        %table
          %tbody
            %tr
              %td
                = sprite_tag("help", :alt => "?", :class=> "help", :title => t('users.email_help_html'))
                = label_tag "email", t('users.email') + ":"
              %td
                = email_field_tag :email, @email, :size => 50, :required => "required", :autofocus => "autofocus",
                      :placeholder => t('users.email_placeholder')

            %tr
              %td
                = sprite_tag("help", :alt => "?", :class=> "help", :title => t('users.password_help_html'))
                = label_tag "password", t('users.password') + ":"
              %td
                = password_field_tag :password, nil, :size => 50, :required => "required",
                      :placeholder => t('users.password_placeholder')
            %tr
              %td
                = sprite_tag("help", :alt => "?", :class=> "help", :title => t('users.vpassword_help_html'))
                = label_tag "vpassword", t('users.vpassword') + ":"
              %td
                = password_field_tag :vpassword, nil, :size => 50, :required => "required",
                      :data_equals => "password", :data_equals_label => t('users.password'),
                      :placeholder => t('users.vpassword_placeholder')
            %tr
              %td{:colspan => 2}

                = submit_tag t('users.add_user')

  #new-users
    #shadow_box_content
      %p
        %b= t('sessions.description_html')
      %p
        %b= t('sessions.source_code_html')
      %p
        %b= t('sessions.learn_more_html')